﻿<Window x:Class="TFSArtifactManager.Views.WorkItemSelectorView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:Controls="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended" 
        Title="Work Item Selection" Height="140" Width="200" 
        WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" ResizeMode="NoResize"
        FocusManager.FocusedElement="{Binding ElementName=uxWorkItemId}" ShowInTaskbar="False">
    <StackPanel Margin="6,6,6,6" FocusManager.IsFocusScope="True">
        <StackPanel Orientation="Horizontal" FocusManager.IsFocusScope="True">
            <TextBlock Text="Work Item Id" Margin="0,0,4,0" VerticalAlignment="Center"/>
            <Controls:IntegerUpDown x:Name="uxWorkItemId" Focusable="True" Value="{Binding WorkItemId}" Minimum="0" Watermark="TFS Id" Width="75"/>
        </StackPanel>
        
        <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
            <Button x:Name="okayButton" Click="okayButton_Click" Content="OK" Width="60" IsDefault="True" Margin="0,0,30,0"/>
            <Button Content="Cancel" Width="60" IsCancel="True"/>
        </StackPanel>       
        
    </StackPanel>
</Window>
